public class operator_logic {
    public static void main(String[] args) {
        boolean a = true;
        boolean b= false;
        boolean c = false;
        boolean d = true;
        System.out.println((a && b) + "未通过");
        System.out.println((a || b) + "通过");
        System.out.println((!a) + "未通过");
        System.out.println((c ^ d) + "通过");
    }
}
